Mollie\WooCommerce\Payment\MollieOrder D

Total Complexity 127
Dependencies 14
Dependents 2
Total lines 1,154
Lines of code 717
Logical lines of code 308
Comment lines 214
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
38 13 70
processOrderItemsRefund()
A
36 11 90
refund()
A
41 11 56
createShippingAddress()
A
43 10 57
createBillingAddress()
A
43 10 55
refund_amount()
A
43 8 48
refund_order_items()
A
45 8 41
onWebhookCanceled()
A
47 7 37
onWebhookPaid()
S
47 4 39
onWebhookExpired()
S
48 4 33
onWebhookCompleted()
S
53 4 22
maybeUpdateStatus()
S
54 4 21
maximalFieldLengths()
S
63 5 10
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
59 3 14
checkBillieCompanyField()
S
60 3 14
getPaymentObject()
S
60 3 11
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
57 1 17
updatePaymentDataWithOrderData()
S
67 2 8
getMolliePaymentIdFromPaymentObject()
S
70 2 6
billingCompanyField()
S
66 2 9
addSequenceTypeFirst()
S
76 1 4
setActiveMolliePayment()
S
67 1 8
__construct()
S
64 1 10